<?php
/**
 * Created by b17
 * 2/16/12 7:53 PM
 */

namespace Managers\Decorators;

class Autocomplete implements Decorator
{
    public function decorate(array $items)
    {
        $result = array();
        foreach ($items as $item) {
            $result[] = $item['name'];
        }
        return $result;
    }
}
